package com.ibeetl.cms.entity;

import com.ibeetl.admin.core.entity.BaseEntity;
import com.ibeetl.admin.core.util.ValidateConfig;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.LogicDelete;
import org.beetl.sql.core.annotatoin.SeqID;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;


/* 
* 
* gen by Spring Boot2 Admin 2021-06-10
*/
public class CmsComment extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Integer id ;

    private Integer memberId;
    private Long articleId;

    @NotNull(message = "上层不能为空")
    private Integer parentId;
    private String title ;
	

    private String dictType ;
	

    private String content ;
	

    private String keywords ;
	

    private Integer provinceId ;
	

    private Integer cityId ;
	

    private Integer countryId ;
	

    private String description ;
	

    private String url ;
	

    private Date createTime ;
	

    private Date updateTime ;
	

    private Date showTime ;
	

    private String attr1 ;
	

    private String attr2 ;
	

    private String attr3 ;
	

    private String attachmentId ;
	
	/*逻辑删除标志*/
	@InsertIgnore
	@LogicDelete(value = 1)

    private String delFlag ;
	

    private Integer seq ;
	
    private Integer top ;
	

    private String imageId ;
	
    private List<CmsComment> childList;

    private Integer hot ;
	
    public CmsComment(){
    }

    public Integer getId(){
        return  id;
    }
    public void setId(Integer id){
        this.id = id;
    }

    public String getTitle(){
        return  title;
    }
    public void setTitle(String title){
        this.title = title;
    }

    public String getDictType(){
        return  dictType;
    }
    public void setDictType(String dictType){
        this.dictType = dictType;
    }

    public String getContent(){
        return  content;
    }
    public void setContent(String content){
        this.content = content;
    }

    public String getKeywords(){
        return  keywords;
    }
    public void setKeywords(String keywords){
        this.keywords = keywords;
    }

    public Integer getProvinceId(){
        return  provinceId;
    }
    public void setProvinceId(Integer provinceId){
        this.provinceId = provinceId;
    }

    public Integer getCityId(){
        return  cityId;
    }
    public void setCityId(Integer cityId){
        this.cityId = cityId;
    }

    public Integer getCountryId(){
        return  countryId;
    }
    public void setCountryId(Integer countryId){
        this.countryId = countryId;
    }

    public String getDescription(){
        return  description;
    }
    public void setDescription(String description){
        this.description = description;
    }

    public String getUrl(){
        return  url;
    }
    public void setUrl(String url){
        this.url = url;
    }

    public Date getCreateTime(){
        return  createTime;
    }
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    public Date getUpdateTime(){
        return  updateTime;
    }
    public void setUpdateTime(Date updateTime){
        this.updateTime = updateTime;
    }

    public Date getShowTime(){
        return  showTime;
    }
    public void setShowTime(Date showTime){
        this.showTime = showTime;
    }

    public String getAttr1(){
        return  attr1;
    }
    public void setAttr1(String attr1){
        this.attr1 = attr1;
    }

    public String getAttr2(){
        return  attr2;
    }
    public void setAttr2(String attr2){
        this.attr2 = attr2;
    }

    public String getAttr3(){
        return  attr3;
    }
    public void setAttr3(String attr3){
        this.attr3 = attr3;
    }

    public String getAttachmentId(){
        return  attachmentId;
    }
    public void setAttachmentId(String attachmentId){
        this.attachmentId = attachmentId;
    }

    public String getDelFlag(){
        return  delFlag;
    }
    public void setDelFlag(String delFlag){
        this.delFlag = delFlag;
    }

    public Integer getSeq(){
        return  seq;
    }
    public void setSeq(Integer seq){
        this.seq = seq;
    }

    public Integer getTop(){
        return  top;
    }
    public void setTop(Integer top){
        this.top = top;
    }

    public String getImageId(){
        return  imageId;
    }
    public void setImageId(String imageId){
        this.imageId = imageId;
    }

    public Integer getHot(){
        return  hot;
    }
    public void setHot(Integer hot){
        this.hot = hot;
    }

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public List<CmsComment> getChildList() {
        return childList;
    }

    public void setChildList(List<CmsComment> childList) {
        this.childList = childList;
    }
}
